<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>IVLanNetConfig Class Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">IoTVideo </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">tencentcs</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/checkAccessPassword:device:">- checkAccessPassword:device:</option>
		
		<option value="//api/name/getDeviceList">- getDeviceList</option>
		
		<option value="//api/name/modifyAccessPassword:device:newPassword:">- modifyAccessPassword:device:newPassword:</option>
		
		<option value="//api/name/sendWifiName:wifiPassword:language:token:extraInfo:toDevice:completion:">- sendWifiName:wifiPassword:language:token:extraInfo:toDevice:completion:</option>
		
		<option value="//api/name/sendWifiName:wifiPassword:token:toDevice:completion:">- sendWifiName:wifiPassword:token:toDevice:completion:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">IVLanNetConfig Class Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Inherits from</th>
	<td>NSObject</td>
</tr><tr>
	<th>Declared in</th>
	<td>IVLanNetConfig.h</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>局域网 网络配置类</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/sendWifiName:wifiPassword:token:toDevice:completion:" title="sendWifiName:wifiPassword:token:toDevice:completion:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendWifiName:wifiPassword:token:toDevice:completion:">&ndash;&nbsp;sendWifiName:wifiPassword:token:toDevice:completion:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Wi-Fi名称</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendWifiName:(NSString *)<em>name</em> wifiPassword:(NSString *)<em>pwd</em> token:(NSString *)<em>token</em> toDevice:(NSString *)<em>deviceId</em> completion:(void ( ^ ) ( BOOL success , NSError *_Nullable error ))<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>Wi-Fi名称</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>pwd</code></th>
						<td><p>Wi-Fi密码</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>token</code></th>
						<td><p>配网token，通过<a href="../Classes/IVNetConfig.html#//api/name/getToken:"><code>[IVNetConfig getToken:]</code></a>及<a href="../Classes/IVNetConfig.html#//api/name/getToken:callback:"><code>[IVNetConfig getToken:callback:]</code></a>获取</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备id</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>配网结果回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVLanNetConfig.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/sendWifiName:wifiPassword:language:token:extraInfo:toDevice:completion:" title="sendWifiName:wifiPassword:language:token:extraInfo:toDevice:completion:"></a>
	<h3 class="method-title"><code><a href="#//api/name/sendWifiName:wifiPassword:language:token:extraInfo:toDevice:completion:">&ndash;&nbsp;sendWifiName:wifiPassword:language:token:extraInfo:toDevice:completion:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>Wi-Fi名称</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)sendWifiName:(NSString *)<em>name</em> wifiPassword:(NSString *)<em>pwd</em> language:(IVNetConfigLanguage)<em>language</em> token:(NSString *)<em>token</em> extraInfo:(nullable NSDictionary&lt;NSString*,NSString*&gt; *)<em>extraInfo</em> toDevice:(NSString *)<em>deviceId</em> completion:(void ( ^ ) ( BOOL success , NSError *_Nullable error ))<em>completionHandler</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>name</code></th>
						<td><p>Wi-Fi名称</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>pwd</code></th>
						<td><p>Wi-Fi密码</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>language</code></th>
						<td><p>设备语言</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>token</code></th>
						<td><p>配网token，通过<a href="../Classes/IVNetConfig.html#//api/name/getToken:"><code>[IVNetConfig getToken:]</code></a>及<a href="../Classes/IVNetConfig.html#//api/name/getToken:callback:"><code>[IVNetConfig getToken:callback:]</code></a>获取</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>extraInfo</code></th>
						<td><p>额外信息</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>deviceId</code></th>
						<td><p>设备id</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>completionHandler</code></th>
						<td><p>配网结果回调</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVLanNetConfig.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/getDeviceList" title="getDeviceList"></a>
	<h3 class="method-title"><code><a href="#//api/name/getDeviceList">&ndash;&nbsp;getDeviceList</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取局域网设备列表</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (NSArray&lt;IVLANDevice*&gt; *)getDeviceList</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVLanNetConfig.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/checkAccessPassword:device:" title="checkAccessPassword:device:"></a>
	<h3 class="method-title"><code><a href="#//api/name/checkAccessPassword:device:">&ndash;&nbsp;checkAccessPassword:device:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>验证局域网访问密码
当直接局域网访问时需要调用此命令（具体密码由SAAS固件端设置）</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (IVLANPwdResult)checkAccessPassword:(NSString *)<em>password</em> device:(NSString *)<em>device</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>password</code></th>
						<td><p>密码</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>device</code></th>
						<td><p>设备id</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>see <code>iv_lan_pwd_ret_e</code></p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVLanNetConfig.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/modifyAccessPassword:device:newPassword:" title="modifyAccessPassword:device:newPassword:"></a>
	<h3 class="method-title"><code><a href="#//api/name/modifyAccessPassword:device:newPassword:">&ndash;&nbsp;modifyAccessPassword:device:newPassword:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>修改局域网访问密码</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (IVLANPwdResult)modifyAccessPassword:(NSString *)<em>oldPassword</em> device:(NSString *)<em>device</em> newPassword:(NSString *)<em>newPassword</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>oldPassword</code></th>
						<td><p>旧密码</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>device</code></th>
						<td><p>设备id</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>newPassword</code></th>
						<td><p>新密码</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>see <code>iv_lan_pwd_ret_e</code></p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">IVLanNetConfig.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2021 tencentcs. All rights reserved. Updated: 2021-07-22</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>